package com.css.fxfzxczh.modules.disasterSituationDataManage.lifeline.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.css.fxfzxczh.base.attachment.entity.AttachmentInfoEntity;
import com.css.fxfzxczh.modules.util.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author: zhangSongRui
 * @CreateTime: 2023/01/30
 * @Description: 生命线实体
 */
@Data
@ExcelTarget("Lifeline")
public class LifelineVO extends BaseEntity {
    //id
    private String xlrId;
    //地震事件管理id
    @Excel(name = "地震事件编号", width = 25, orderNum = "1")
    private String xsemId;
    //省
    @Excel(name = "省", width = 25, orderNum = "2")
    private String province;
    //市
    @Excel(name = "市", width = 25, orderNum = "3")
    private String city;
    //县
    @Excel(name = "县", width = 25, orderNum = "4")
    private String district;
    //详细地址
    @Excel(name = "详细地址", width = 25, orderNum = "5")
    private String detailAddress;
    //抽样点名称
    @Excel(name = "抽样点名称", width = 25, orderNum = "6")
    private String sampleName;
    //经度
    @Excel(name = "经度", width = 25, orderNum = "7")
    private Float longitude;
    //纬度
    @Excel(name = "纬度", width = 25, orderNum = "8")
    private Float latitude;
    //生命线类型;
    @Excel(name = "生命线类型", width = 25, orderNum = "9")
    private String lineType;
    //生命线类型二级
    private String lineType2;
    //破坏情况
    @Excel(name = "破坏情况", width = 25, orderNum = "10")
    private String damage;
    //推测烈度
    @Excel(name = "推测烈度", width = 25, orderNum = "11")
    private String intensity;
    //具体描述情况
    @Excel(name = "具体描述情况", width = 25, orderNum = "12")
    private String detailDesc;

    //附件(照片)
    private List<AttachmentInfoEntity> enclosurePhoto;
    //附件(视频)
    private List<AttachmentInfoEntity> enclosureVideo;
    //附件(音频)
    private List<AttachmentInfoEntity> enclosureAudio;
    //附件(相册)
    private List<AttachmentInfoEntity> enclosureAlbum;



    //调查员
    @Excel(name = "调查员", width = 25, orderNum = "13")
    private String investigator;
    //调查时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "调查时间", width = 25, orderNum = "14")
    private Date investigationTime;
    //审核状态
    private String status;
    //审核意见
    private String suggestion;
    //生命线工程编号
    @Excel(name = "生命线工程编号", width = 25, orderNum = "15")
    private String lifelineCode;
    //生命线名称
    private String lifelineName;
}
